home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / src / COMPILING < prev    next >
Text File  |  1994-05-02  |  2KB  |  65 lines

  1. COMPILING THE AmiTCP/IP AND THE UTILITIES
  2.  
  3. $Revision: 3.3 $
  4.  
  5. ABOUT THE COMPILER
  6.  
  7.  - Only SAS/C 6.x is supported for now. Note that we have used SAS/C 6.51
  8.    for compiling. Since the SAS/C 6.51 still has some bugs, there may be some
  9.    compiler-related problems with release binaries.  If you are using SAS C
  10.    6.3, please report all incompatibilities you have encountered.
  11.  
  12.  - The GNU CC support is unfinished
  13.  
  14.  - DICE support should be included in the release 3.1
  15.  
  16. SOME NOTES:
  17.  
  18.  - netinclude and netlib along with the assigns must be installed
  19.    before compiling anything (compiling the netlib itself does not
  20.    need the netlib: assign).
  21.  - SANA-II headers are now included in netinclude:
  22.  - if you intend to change src/kern/variables.src, then you must have
  23.    gawk (Gnu awk) installed to be able to compile the AmiTCP itself.
  24.    Gawk is not needed to compile the utilities. 
  25.  - Most Smakefiles do not have decent dependencies, so if something is
  26.    changed you have better "smake clean" before retrying
  27.  - Many utilities and applications require a RCSREV utility for compilation.
  28.    RCSREV is included in the bin directory, which should be added to
  29.    the path.
  30.  
  31.     
  32. COMPILING:
  33.  
  34. 1. Assign AmiTCP: to the AmiTCP/IP main directory,
  35.    and netinclude: to the AmiTCP:netinclude.
  36.  
  37. 2. Make sure that rcsrev is on the path ("path AmiTCP:bin add").
  38.  
  39. 3. cd to the AmiTCP:src and make sure that the scripts "compile.lib"
  40.    and "compile" have the `s' and `e' bits set ("protect compile#? +se").
  41.  
  42. 4. Compile the link libraries first.  An already compiled version
  43.    should be included in the API package.  You can recompile the link
  44.    libraries with the shell script "compile.lib INSTALL" (INSTALL
  45.    switch is optional, and causes the results to be installed to
  46.    proper places.
  47.  
  48. 5. assign netlib: to AmiTCP:netlib (created by the above step).
  49.  
  50. 6. The whole distribution can be recompiled with the shell script "compile".
  51.    It compiles the following subcomponents of AmiTCP/IP release:
  52.  
  53.    * APPL    network applications
  54.    * AMITCP     AmiTCP/IP binary
  55.    * DEVS       network drivers and support devices
  56.    * DEVTOOLS   development tools (rcsrev, rpcgen and cpp)
  57.    * LIBS       support libraries (usergroup.library)
  58.    * UTIL       network and usergroup utilities
  59.  
  60.    * ALL        compiles all items above
  61.  
  62.    The INSTALL switch makes the results to be installed in proper places.
  63.  
  64.    "compile ALL INSTALL" will do it all.
  65.